package com.zdya.combatdocuments.entity.vo;

import com.zdya.combatdocuments.entity.Image;
import com.zdya.combatdocuments.entity.UserChat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * * @author: bj
 * * @date: 2023/6/3
 * * @desc: 用户聊天接收前端参数实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserChatVO {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "发送方id")
    private Long fromId;

    @ApiModelProperty(value = "接收方id")
    private String toId;

    @ApiModelProperty(value = "发起方账号")
    private String sender;

    @ApiModelProperty(value = "接收方账号")
    private List<String> toAccount;

    @ApiModelProperty(value = "消息内容")
    private String content;

    @ApiModelProperty(value = "1-文字；2-图片；3-文件, 4-文书")
    private Integer type;

    @ApiModelProperty(value = "网络")
    private Long netId;

    @ApiModelProperty(value = "创建时间")
    private Long createDate;

    /** 0 标识向上 1 表示向下  */
    @ApiModelProperty(value = "审批标识")
    private String sendTag;

    @ApiModelProperty(value = "文件原名")
    private String originalFilename;

    // 保证唯一
    @ApiModelProperty(value = "文书编号")
    private String serialNum;

    @ApiModelProperty(value = "文书名称")
    private String name;

    @ApiModelProperty(value = "暗语")
    private String argot;

    @ApiModelProperty(value = "要素")
    private String element;

    @ApiModelProperty(value = "席位")
    private String seat;

    @ApiModelProperty(value = "阶段")
    private String stage;

    @ApiModelProperty(value = "文书审批状态")
    private String status;

    @ApiModelProperty(value = "文书接收方ip")
    private String ip;

    @ApiModelProperty(value = "聊天记录")
    private List<UserChat> userChatList;

    @ApiModelProperty(value = "文件访问地址")
    private String docAccessPath;


    @ApiModelProperty(value = "文书向上、向下标识")
    private Integer docType;

//    @ApiModelProperty(value = "x坐标")
//    private Float x;
//    @ApiModelProperty(value = "y坐标")
//    private Float y;
//    @ApiModelProperty(value = "图片宽")
//    private Float w = 119.0f;
//    @ApiModelProperty(value = "图片高")
//    private Float h = 119.0f;
//    @ApiModelProperty(value = "页数")
//    private Integer page = 0;
//    @ApiModelProperty(value = "签章图片")
//    private String image;

    private List<Image> list;

    @ApiModelProperty(value = "文书等级")
    private String docGrade;
}
